package com.cyq.day17.Mobile;

public class Test {
    public static void main(String[] args) {
        CommonHandset h1=new CommonHandset("","");
        System.out.println("这是一款型号为"+h1.brand+"的"+h1.type+"手机");
        System.out.println("它可以:");
        h1.call();
        h1.info();
        h1.sendInfo();
        h1.play();
        AptitudeHandst h2 = new AptitudeHandst("","");
        System.out.println("这是一款型号为"+h2.brand+"的"+h2.type+"手机");
        System.out.println("它可以:");
        h2.call();
        h2.info();
        h2.sendInfo();
        h2.networkConn();
        h2.takePictare();

    }
}
